package com.gs.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 菜单;
 * @author : http://www.chiner.pro
 * @date : 2022-10-12
 */
@ApiModel(value = "菜单",description = "菜单")
@TableName("gs_menu")
@Data
@EqualsAndHashCode(callSuper = false)
public class MenuEntity extends TreeNode {

    /** 访问路径,以/开头 */
    @ApiModelProperty(name = "path",value = "访问路径,以/开头")
    private String path;
    /** 名称 */
    @ApiModelProperty(name = "name",value = "名称")
    private String name;
    /** 权限 */
    @ApiModelProperty(name = "name",value = "权限")
    private String permissions;
    /** 组件路径,以/开头 */
    @ApiModelProperty(name = "component",value = "组件路径,以/开头")
    private String component;
    /** 重定向路径 */
    @ApiModelProperty(name = "redirect",value = "重定向路径")
    private String redirect;
    /** 图标 */
    @ApiModelProperty(name = "icon",value = "图标")
    private String icon;
    /** 是否隐藏 */
    @ApiModelProperty(name = "hidden",value = "是否隐藏")
    private Integer hidden;
    /** 菜单级别 */
    @ApiModelProperty(name = "menuLevel",value = "菜单级别")
    private Integer menuLevel;
    /** 上级菜单 */
    @ApiModelProperty(name = "parentId",value = "上级菜单")
    private Long parentId;

}